<html>
<head>
  <title>NMTDVR</title>
  <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
  <link rel="Stylesheet" type="text/css" href="css/reset.css" />
  <link rel="Stylesheet" type="text/css" href="css/nmtdvr.css" />
  <link rel="Stylesheet" type="text/css" href="css/jquery.tabs.css" />
  <!--[if IE]>
    <link rel="Stylesheet" type="text/css" href="css/ie.css"></link>
  <![endif]-->
<script type='text/javascript'>
var x = new XMLHttpRequest();
x.open('GET', 'nmtdvr.php?f=listTvEpisodes', true);
x.onreadystatechange = function()
{
  if(x.readyState != 4)
    return;
  window.PRELOADED = x.responseText;
};
x.send(null);
</script>
  <!--
  <script type="text/javascript" src="javascript/joined.js"></script>
  <script type="text/javascript" src="javascript/min.js"></script>
  -->
  <script type="text/javascript" src="javascript/jquery-1.4.1.js"></script>
  <script type="text/javascript" src="javascript/jquery.tinysort.js"></script>
  <script type="text/javascript" src="javascript/jquery.tabs.js"></script>
  <script type="text/javascript" src="javascript/jquery.autocomplete.js"></script>
  <script type="text/javascript" src="javascript/nmtdvr.js"></script>
</head>
<body>
<a id="wizardLink" class="hidden" href="nmtdvr.php?r=dvrConfig/welcome"></a>
<ul class="mainoptions" id="mainoptions">
  <li id="favoritesMenu"><a class="toggleDialog" rel="#favorites" href="#favorites">Favorites</a></li>
  <li id="config"><a class="toggleDialog" href="#configuration">Configure</a></li>
  <li class="divider">&nbsp;</li>
  <li id="view"><a class="toggleDialog" href="nmtdvr.php?r=history/list#history">View History</a></li>
  <li id="empty"><a class="toggleDialog" href="#reset_data">Reset Data</a></li>
  <li id="inspector"><a href="#inspector_container">Inspector</a></li>
  <li id="toggleLegend"><a class="toggleDialog" href="#legend">Legend</a></li>
</ul>
<ul id="filterbar_container">
  <li id="filter_all" class="selected"><a href="#">All</a></li>
  <li id="filter_matching"><a href="#">Matching</a></li>
  <li id="filter_downloaded"><a href="#">Downloaded</a></li>
  <li id="filter_bytext"><input class='gray' type="text" id="filter_text_input" value='Quick Search'></li>
</ul>
<div class="progressbar dialog_window" id="progressbar">
  <div class="content clearfix">
<!--<img src="images/ajaxload.gif"> -->
    <img alt="Loading" height="44" width="97" src="">
  </div>
</div>
<div class="expose">&nbsp;</div>
<div id="inspector_container">
  <div class="mediaDetails">
    <h2>Click the light blue button at the upper right of an item to get more information</h2>
  </div>
</div>
<div id="feedItems_container">
  <ul>
    <li><a href="nmtdvr.php?f=listTvEpisodes"><span>TV Episodes</span></a></li>
    <li><a href="nmtdvr.php?r=movie/list"><span>Movies</span></a></li>
    <li><a href="nmtdvr.php?r=other/list"><span>Others</span></a></li>
    <li><a href="nmtdvr.php?r=feedItem/list&status=queued"><span>Queued</span></a></li>
  </ul>
</div>
<div id="favorites" class="dialog_window">
  <div class="content clearfix">
    <ul class="favTypes">
      <li id="favoriteTvShow_tab"><a href="nmtdvr.php?r=favoriteTvShow/list"><span>TV Shows</span></a></li>
      <li id="favoriteMovie_tab"><a href="nmtdvr.php?r=favoriteMovie/list"><span>Movies</span></a></li>
      <li id="favoriteString_tab"><a href="nmtdvr.php?r=favoriteString/list"><span>Strings</span></a></li>
    </ul>
  </div>
</div>
<div id="configuration" class="dialog_window">
  <div class="content clearfix">
    <ul>
     <li><a href="nmtdvr.php?r=dvrConfig/globals"><span>Main</span></a></li>
     <li><a href="nmtdvr.php?r=dvrConfig/torClient"><span>Torrent Client</span></a></li>
     <li><a href="nmtdvr.php?r=dvrConfig/nzbClient"><span>NZB Client</span></a></li>
     <li><a href="nmtdvr.php?r=feed/list"><span>Feeds</span></a></li>
    </ul>
  </div>
</div>
<div id="legend" class="dialog_window">
  <div class="content clearfix"><ul>
    <li class="torrent match_Unmatched">
      <div class="itemButtons">
        <h3>No Match</h3>
        <div>Will not be downloaded</div>
      </div>
    </li>
    <li class="torrent match_Failed alt">
      <div class="itemButtons">
        <h3>Failed</h3>
        <div>Item failed to download</div>
      </div>
    </li>
    <li class="torrent match_Downloaded alt">
      <div class="itemButtons">
        <h3>Started</h3>
        <div>Feed item was sent to the download client</div>
      </div>
    </li>
    <li class="torrent match_Old alt">
      <div class="itemButtons">
        <h3>Old or Duplicate episode</h3>
        <div>
          Episode is downloaded previously or older than the most recently downloaded episode
        </div>
      </div>
    </li>
    <li class="torrent match_Queued">
      <div class="itemButtons">
        <h3>Queued</h3>
        <div>Feed Item is queued for user to act on</div>
      </div>
    </li>
    <li class="torrent match_New alt">
      <div class="itemButtons">
        <h3>New</h3>
        <div>Feed Item is new and has not yet been processed for favorites.  Suggest refreshing page</div>
      </div>
    </li>
  </ul></div>
</div>
<div class="dialog_window" id="reset_data">
  <div class="content">
    <h2 class="dialog_heading">Reset Stored Data</h2>
    <ul>
      <li class="clearFix">
        <a href='nmtdvr.php?r=resetData/all' class='button ajaxSubmit'>All</a>
        <p>Delete both media and feedItem data and update feeds from the internet</p>
      </li>
      <li class="clearFix">
        <a href='nmtdvr.php?r=resetData/media' class='button ajaxSubmit'>Media</a>
        <p>Reset all media types(episodes, movies, etc) to new status</p>
      </li>
      <li class="clearFix">
        <a href='nmtdvr.php?r=resetData/feedItems' class='button ajaxSubmit'>Items</a>
        <p>Reset all feed items to unmatched status</p>
      </li>
    </ul>
    <div class="buttonContainer clearFix">
      <a class="toggleDialog button" href="#">Close</a>
    </div>
  </div>
</div>

</body></html>
